package com.chongbangbang.pojo.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author TP
 * @version 1.0
 * @date 2022/9/11/0011 13:03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "PetSickInfoDTO实体对象", description = "PetSickInfo的传输对象")
public class PetSickInfoDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("外键,对应宠物信息表的id")
    private Integer petId;

    @ApiModelProperty("外键，对应用户表主键id")
    private Integer userId;

    @ApiModelProperty("开始生病时间, >=的时间")
    private LocalDate beginTime;

    @ApiModelProperty("开始生病时间, <=的时间")
    private LocalDate endTime;

    @ApiModelProperty("是否治愈")
    private Integer isCured;
}
